import { defineStore } from "pinia";
import { ref } from 'vue'
// 组合式的

export const useUserStore2 = defineStore('user2', ()=>{
  let age = ref(27)
  let level = ref(5)
  let account = ref('123456')
  let nickname = ref('小红')

  return { // 变量共享出去
    age,
    level,
    account,
    nickname,
  }
})


